package skeleton_wearebatman;

class Wire implements Ioperable {

    private String name;

    public Wire(String s) {
        name = s;
        System.out.println("CALL | Wire | " + name + " | " + this.hashCode() + " | Wire()");
    }

    public void operate() {
        System.out.println("CALL | Wire | " + name + " | " + this.hashCode() + " | operate()");
    }

    public void connect(Input in, Output out) {
        System.out.println("CALL | Wire | " + name + " | " + this.hashCode() + " | connect(Input in, Output out)");
    }

    public Output getOutput() {
        System.out.println("RETURN | Wire | " + name + " | " + this.hashCode() + " | getOutput()");
        return null;
    }

    public Input getInput() {
        System.out.println("RETURN | Wire | " + name + " | " + this.hashCode() + " | getInput()");
        return null;
    }
}
